package com.rslai.base.tool.servertest.model;

/**
 * key value model
 */
public class KeyValueStore {
    String name;
    Object value;

    /**
     * 构造方法
     *
     * @param name  name
     * @param value value
     */
    public KeyValueStore(String name, Object value) {
        this.name = name;
        this.value = value;
    }

    /**
     * 返回 name
     *
     * @return name
     */
    public String getName() {
        return this.name;
    }

    /**
     * 返回 value
     *
     * @return value
     */
    public Object getValue() {
        return this.value;
    }

    /**
     * @param value 设置 value
     */
    public void setValue(Object value) {
        this.value = value;
    }

    public String toString() {
        return "KeyValueStore [name=" + this.name + ", value=" + this.value + "]";
    }

}
